package com.joysuch.wwyt.api.dataaccess.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
@ApiModel(value = "作业报警")
public class OrientationPageAlarmCertificateOrAreaBean implements Serializable {
    @ApiModelProperty(value = "报警事件id")
    private Long id;

    @ApiModelProperty(value = "报警信息")
    private String alarmInfo;

    @ApiModelProperty(value = "作业票报警类型 0-离开 1-进入;" +
            "人员报警类型 0-一键 1-越界 2-滞留 3-超员 4-缺员 5-静止")
    // private Integer alarmType;

    private String alarmTypeName;

    @ApiModelProperty(value = "报警状态 0-已处理 1-报警中")
    private Integer status;

    @ApiModelProperty(value = "报警时间")
    private String alarmTime;

    @ApiModelProperty(value = "人员类型 1-内部员工 2-内部车辆 3-访客 4-外部车辆 5-承包商")
    private Integer bindType;

    @ApiModelProperty(value = "人员姓名")
    private String personName;

    @ApiModelProperty(value = "sn")
    private String sn;

    @ApiModelProperty(value = "区域名")
    private String areaName;

    //  private List<OrientationPageAlarmCertificateOrAreaItemBean> rails;
    private List<OrientationV3RailBean> rails;

    private Long tenentId;

    private String orgCode;

    //报警分类
    private String moudle;

    //用于前段处理报警
    private String module;

    @ApiModelProperty(value = "作业票流水号")
    private String serialNumber;

    private String processInstanceId;

}
